home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2384 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  755 b 

  1. Path: newsfeed.pitt.edu!jbilla
  2. From: jbilla+@pitt.edu (Jayadev  Billa)
  3. Newsgroups: comp.lang.c
  4. Subject: <SOLVED> Weird malloc() seg-faults [Need Help!]
  5. Date: 20 Jan 1996 23:56:34 GMT
  6. Organization: University of Pittsburgh
  7. Message-ID: <4drvfi$nf3@usenet.srv.cis.pitt.edu>
  8. References: <4drhfg$m9s@usenet.srv.cis.pitt.edu>
  9. Reply-To: jabst45+@pitt.edu
  10. NNTP-Posting-Host: scorpion.labs.cis.pitt.edu
  11. Keywords: malloc, weird, segmentation faults, bad programming?, help
  12.  
  13. <SOLVED><SOLVED><SOLVED><SOLVED><SOLVED><SOLVED><SOLVED><SOLVED><SOLVED>
  14.  
  15. Thanks to Cheewai <C.Lai@cs.ucl.ac.uk> who pointed out that I could of
  16. corrupted the memory tables earlier in the program, I traced the fault to
  17. a double invocation of FreeVector() on the same pointer. 
  18.  
  19. Cheers,
  20. Jay.
  21.